/**
 * Copyright © 2020 易久批信息技术有限公司. All rights reserved.
 */
package com.dysm.state;

/**
 * 状态模式
 * @author xiay
 * @since 2020/12/15 11:02 下午
 */
public class StateClient {

    public static void main(String[] args) {
        RoomContext context = new RoomContext();

        context.setState(new FreeState());
        context.setState(new BookedState());

    }
}
